home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Library / +ORC / Orc pac 5 / FILEZ.ZIP / FS21.ZIP / STUDY.TXT < prev   
Encoding:
Text File  |  1997-03-08  |  5.1 KB  |  140 lines

  1. Special Notes on FS2.1 from 1984
  2. and an interesting look into some history
  3. relating to the protection scheme
  4.  
  5.  by:
  6.  
  7.  /*************************************\
  8.     -= Greythorne the Technomancer =-
  9.  \*************************************/
  10.  
  11. 1.) Even though +ORC mentioned version FS2.12
  12.     from 1985, it doesn't matter. That was
  13.     just an upgrade in some way to this one,
  14.     and the protection is identical
  15.  
  16. 2.) I tried installing it twice, with teledisk
  17.     and it copied the image back to disk with
  18.     a few read errors, just as we were told it
  19.     would, but no luck running it (just hangs)
  20.  
  21. HERE is the purpose of this particular program
  22. study.
  23.  
  24.   Doing a directory of the disk, here is what
  25.   you see:
  26.  
  27. ---------------------------------------------
  28.  
  29.  Volume in drive B has no label
  30.  Directory of B:\
  31.  
  32. FS       COM            57 04-04-84   8:40a
  33.         1 file(s)             57 bytes
  34.                          135,168 bytes free
  35.  
  36. ---------------------------------------------
  37.  
  38. Bizarre by today's standards, eh? Isn't there
  39. supposed to be a full disk of data here?
  40.  
  41. Not just some silly 57 BYTE file?
  42.  
  43. (I included this file for you to examine, so you don't
  44. have to go through the hassle of teledisking to an
  45. old floppy... especially since many people do not
  46. own 5.25" floppy disk drives anymore - nor do people
  47. need them)
  48.  
  49. This is the 'program stub' that +ORC mentioned
  50. in the lesson. It is basically the loader file
  51. for the flight simulator diskette which is
  52. using a disk-based program.
  53.  
  54. What I mean by that is simple: it is not stored
  55. in file format as we know it, if at all. An old
  56. trick before 'copying to the hard drive' became
  57. popular die to program size, is that companies
  58. would write their own Disk I/O routines. (I did
  59. this very same trick on the AppleII way back)
  60.  
  61. Specific games on AppleII come to mind (since
  62. that is what I used to crack - or attempt to crack)
  63. such as THIEF (to the rest of the world known as
  64. BERSERK) in that specific sectors were left unformatted
  65. on the floppy, making copy programs crash since they
  66. attempted to read and copy bad sectors.
  67.  
  68. Some whole tracks were left this way as well. When a
  69. cracker attempted to read only the good sectors and write
  70. them to a target disk (preformatted of course) the cracker
  71. would get a disk that was readable on all sectors, so
  72. the program would crash because it EXPECTED a read error
  73. in certain locations. Then the job was to find and disable
  74. the READ-CHECK.
  75.  
  76. Some. like Zaxxon for the Apple, were not only done like
  77. this, some tracks were recorded in odd locations.
  78. An old protectionist trick was to use half-tracks
  79. (really the space between 2 tracks was the size of an entire
  80. other track, so copying between them was sneaky) What was
  81. particularly bad in Zaxxon, for instance, was that it used
  82. quarter and 3/4 tracks as well. This was done by telling the
  83. machine that it was using half-tracks and then either cutting
  84. off the advance-to-the-next-half-track 50% early, or allowing
  85. it to go 50% past the half track. To crack this COMPLETELY,
  86. one needed to copy the data off of the FUNKY tracks of the
  87. original disk, put it on NORMAL tracks on the target disk,
  88. and alter ALL of the read and write routines on the disk to
  89. reflect the changes.
  90.  
  91. If this zaxxon example sounds familiar to some people, it
  92. is probably because I learned this particular scheme from
  93. The Disk Jockey (who had the best cracking tutorial in the world
  94. before +ORC's came out with not even a close runner up)
  95.  
  96. Well, enough history lessons for one session...
  97. Back to FS2!
  98.  
  99. You will notice that FS.LST (output from sourcer
  100. in TASM 1.0 format) is slightly different from
  101. the one in the HowTo by +ORC. That is okay, you will
  102. notice that the important 99% of lines, commented
  103. by +ORC in the lesson are identical anyway, and since
  104. this is meant to be a learning lesson: LEARN! EXAMINE!
  105. I didnt set this up to do the work for you, this is
  106. meant to help you along in your study of an old style
  107. disk-based protection.
  108.  
  109. It is not known to me whether FS2.1 has been in some
  110. way deprotected or not since it is so much trouble
  111. just to get the thing to run. (This is probably a hint
  112. that it was archived with protection intact) It could
  113. after all be deprotected.. and just plain hard to get
  114. to work. Maybe the readers of this file would like to
  115. play around with it as a study of their own. :)
  116.  
  117.  
  118. While you may not be able to get this program to
  119. ever work, compare the two source listings, as
  120. it displays a type of protection that used to
  121. be rather prevalent among many old disk-based
  122. copy protection schemes. Also, notice the creative
  123. use of teledisk to make a copy of the software that
  124. could be transported. With a bizarre track/sector
  125. format, making a complete disk image of the floppy
  126. was the only 'easy' way to duplicate this disk for
  127. other people to try it out, considering that making
  128. a disk image is the only relatively easy method of
  129. turning a disk-based program into a file for means
  130. of transporting to friends, etc...
  131.  
  132. WELL ANYWAY:
  133.  
  134. Above all, use it as an interesting file study.
  135.  
  136.  
  137.  Enjoy,
  138.  
  139.    +gthorne'97
  140.